How to get the list of folders using python